package com.zbu.friend.service.exam;

import com.zbu.common.core.domain.TableDataInfo;
import com.zbu.friend.domain.exam.dto.ExamQueryDTO;
import com.zbu.friend.domain.exam.dto.ExamRankDTO;
import com.zbu.friend.domain.exam.vo.ExamVO;
import com.zbu.friend.mapper.exam.ExamMapper;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface IExamService {
    List<ExamVO> list(ExamQueryDTO examQueryDTO);

    TableDataInfo redisList(ExamQueryDTO examQueryDTO);

    TableDataInfo rankList(ExamRankDTO examRankDTO);

    String getFirstQuestion(Long examId);

    String preQuestion(Long examId, Long questionId);

    String nextQuestion(Long examId, Long questionId);
}
